package com.ktgj.customer.api.domain;

import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.List;

/**
 * 权益对象 rightdetail
 *
 * @author ruoyi
 * @date 2021-07-30
 */
public class Rightdetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long rightdetailId;

    /** 权益名称 */
    @Excel(name = "权益名称")
    private String rightdetalName;

    /** 权益类型 */
    @Excel(name = "权益类型")
    private String rightdetailType;

    /** 权益类型ID */
    @Excel(name = "权益类型ID")
    private Long rightdetailTypeid;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createEmployeeId;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long updateEmployeeId;

    /** 券金额 */
    @Excel(name = "券金额")
    private BigDecimal couponMoney;

    /** 次数 */
    @Excel(name = "次数")
    private Long numberOfTimes;

    public void setRightdetailId(Long rightdetailId)
    {
        this.rightdetailId = rightdetailId;
    }

    public Long getRightdetailId()
    {
        return rightdetailId;
    }
    public void setRightdetalName(String rightdetalName)
    {
        this.rightdetalName = rightdetalName;
    }

    public String getRightdetalName()
    {
        return rightdetalName;
    }
    public void setRightdetailType(String rightdetailType)
    {
        this.rightdetailType = rightdetailType;
    }

    public String getRightdetailType()
    {
        return rightdetailType;
    }
    public void setRightdetailTypeid(Long rightdetailTypeid)
    {
        this.rightdetailTypeid = rightdetailTypeid;
    }

    public Long getRightdetailTypeid()
    {
        return rightdetailTypeid;
    }
    public void setCreateEmployeeId(Long createEmployeeId)
    {
        this.createEmployeeId = createEmployeeId;
    }

    public Long getCreateEmployeeId()
    {
        return createEmployeeId;
    }
    public void setUpdateEmployeeId(Long updateEmployeeId)
    {
        this.updateEmployeeId = updateEmployeeId;
    }

    public Long getUpdateEmployeeId()
    {
        return updateEmployeeId;
    }
    public void setCouponMoney(BigDecimal couponMoney)
    {
        this.couponMoney = couponMoney;
    }

    public BigDecimal getCouponMoney()
    {
        return couponMoney;
    }
    public void setNumberOfTimes(Long numberOfTimes)
    {
        this.numberOfTimes = numberOfTimes;
    }

    public Long getNumberOfTimes()
    {
        return numberOfTimes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rightdetailId", getRightdetailId())
                .append("rightdetalName", getRightdetalName())
                .append("rightdetailType", getRightdetailType())
                .append("rightdetailTypeid", getRightdetailTypeid())
                .append("createEmployeeId", getCreateEmployeeId())
                .append("createTime", getCreateTime())
                .append("updateEmployeeId", getUpdateEmployeeId())
                .append("updateTime", getUpdateTime())
                .append("couponMoney", getCouponMoney())
                .append("numberOfTimes", getNumberOfTimes())
                .toString();
    }
}